package com.byl.sdk.bean;


/**
 * Created by Administrator on 2018/3/9.
 */
public class ResponsePage extends Response {

    private int page; //当前页数

    private int pageSize;//每页记录数

    private int total; //当前记录数


    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public ResponsePage() {
    }


    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }



    public ResponsePage(int code, String msg, Object data, int page, int pageSize, int total) {
        this.code = code;
        this.msg = msg;
        this.data = data;
        this.page = page;
        this.pageSize = pageSize;
        this.total = total;
    }

    @Override
    public String toString() {
        return "ResponsePage{" +
                "page=" + page +
                ", pageSize=" + pageSize +
                ", total=" + total +
                '}';
    }
}
